.Net Framework > v1.1.4322 > System > Convert > ToBoolean ToBoolean(Boolean)
ToBoolean(Byte)
ToBoolean(Char)
ToBoolean(DateTime)
ToBoolean(Decimal)
ToBoolean(Double)
ToBoolean(Int16)
ToBoolean(Int32)
ToBoolean(Int64)
ToBoolean(Object)
ToBoolean(Object,IFormatProvider)
ToBoolean(SByte)
ToBoolean(Single)
ToBoolean(String)
ToBoolean(String,IFormatProvider)
ToBoolean(UInt16)
ToBoolean(UInt32)
ToBoolean(UInt64)


ToBoolean(Boolean)

Category
Method
Description
Returns the specified Boolean value; no actual conversion is performed.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueBoolean
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Byte)

Category
Method
Description
Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueByte
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Char)

Category
Method
Description
Calling this method always throws System.InvalidCastException.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueChar
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(DateTime)

Category
Method
Description
Calling this method always throws System.InvalidCastException.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueDateTime
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Decimal)

Category
Method
Description
Converts the value of the specified System.Decimal number to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueDecimal
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Double)

Category
Method
Description
Converts the value of the specified double-precision floating point number to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueDouble
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Int16)

Category
Method
Description
Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueInt16
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Int32)

Category
Method
Description
Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Int64)

Category
Method
Description
Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueInt64
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Object)

Category
Method
Description
Converts the value of a specified System.Object to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueObject
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Object,IFormatProvider)

Category
Method
Description
Converts the value of the specified System.Object to an equivalent Boolean value using the specified culture-specific formatting information.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueObject
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(SByte)

Category
Method
Description
Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueSByte
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(Single)

Category
Method
Description
Converts the value of the specified single-precision floating point number to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueSingle
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(String)

Category
Method
Description
Converts the specified System.String representation of a logical value to its Boolean equivalent.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(String,IFormatProvider)

Category
Method
Description
Converts the specified System.String representation of a logical value to its Boolean equivalent using the specified culture-specific formatting information.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueString
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(UInt16)

Category
Method
Description
Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueUInt16
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(UInt32)

Category
Method
Description
Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueUInt32
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

ToBoolean(UInt64)

Category
Method
Description
Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
valueUInt64
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database